package gwtappcontainer.shared.apps.insight;

public class UnlistedProgram implements Comparable<UnlistedProgram> {
	public int id;
	public int programTypeId;
	public String programType;
	public String venue;
	public Integer month;
	public Integer year;
	public String teacher;
	
	@Override
	public int compareTo(UnlistedProgram o) {
		Integer monthYear = year + month;
		Integer oMonthYear = o.year + o.month;
		return monthYear.compareTo(oMonthYear);		
	}
}
